package com.jt.www.domain.qo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Id;
import javax.validation.constraints.NotNull;
import java.util.Date;

@ApiModel(description = "保存清单记录参数")
public class AddSaveEndorseParam {
    @Id
    private Long id;

    @ApiModelProperty(value = "投保单号")
    @NotNull(message = "投保单号不能为空")
    private String insuranceId;

    @ApiModelProperty(value = "订单号")
    private String applyId;

    @ApiModelProperty(value = "批单类型：2-新增，3-删减，4-替换，5-批退，6-协议批加，7-附加被保险人全加，8-附加被保险人全减，9-新增附加教师，10-删减附加教师")
    private Integer endorType;

    @ApiModelProperty(value = "批加减及替换清单文件id")
    private String fileId;

    @ApiModelProperty(value = "被替换清单文件id")
    private String originFileId;

    @ApiModelProperty(value = "1-投保单，2-批单")
    private Integer isIns;

    @ApiModelProperty(value = "是否删除:1-是；0-否")
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人编号")
    @NotNull(message = "用户编号不能为空")
    private String usercode;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getInsuranceId() {
        return insuranceId;
    }

    public void setInsuranceId(String insuranceId) {
        this.insuranceId = insuranceId;
    }

    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId;
    }

    public Integer getEndorType() {
        return endorType;
    }

    public void setEndorType(Integer endorType) {
        this.endorType = endorType;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getOriginFileId() {
        return originFileId;
    }

    public void setOriginFileId(String originFileId) {
        this.originFileId = originFileId;
    }

    public Integer getIsIns() {
        return isIns;
    }

    public void setIsIns(Integer isIns) {
        this.isIns = isIns;
    }

    public Boolean getDeleted() {
        return isDeleted;
    }

    public void setDeleted(Boolean deleted) {
        isDeleted = deleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode;
    }
}
